﻿package 
{
	import flash.display.MovieClip;
	public class LamparaBlanca extends MovieClip
	{
		private var idlampara:int;
		private var isOn:Boolean = false;

		public function LamparaBlanca(id:int)
		{
			idlampara = id;
		}

		public function getId():int
		{
			return idlampara;
		}
		public function change():Boolean{
			isOn = !isOn;
			return isOn;
			}
	}
}